package com.nd.qa.shareplate;

import java.io.File;


public class GetApkInfo {

	public static void main(String[] args) {
		
		String name = "http://cdncs.101.com/v0.1/static/release_package_repository/android/dev/mock-entertong/1262976/mock-entertong_1262976.apk";
		File srcFile = new File(name);  
        String parentPath = srcFile.getParent();    //源文件目录  
        String fileName = srcFile.getName();        //源文件名称  
        String prefixName = fileName.substring(0, fileName.lastIndexOf("."));
        System.out.println(prefixName);
	}
}
